﻿using Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IRepository;

namespace ConcreteService
{
    public class AgentService : CommonService
    {
        public int GetAgentID(string agentPassword)
        {
            IAgentRepository repo = ServiceFactory.CreateInstance<IAgentRepository>();
            return repo.GetAgentID(agentPassword);
        }
    }
}
